<template>
        <div class="return" @click="goBack">
        <img src="../assets/images/teacher/public/arrow-left-bold.svg" alt="返回">
    </div>
</template>
<script setup>
import {useRouter} from 'vue-router'

const router = useRouter();

//返回上一页
const goBack = function () {
    router.go(-1);
}

</script>
<style scoped>
.return {
    width: 30px;
    height: 30px;
    position: absolute;
    cursor: pointer;
    left: 1%;
    top: 1%;
}


</style>